<?php
/**
 *
 * @author fanzhanao
 * @version 
 */

class cartoon_model_booklist extends cartoon_model_bmodel{
	
	public function __construct(){
    	parent::__construct();
        $this->table = 'cartoon_booklist';
    }
    
    public function add($para){
    	$para = filter_params($para,array('title','uid'));
    	$para['add_time'] = CURRENT_TIME;
    	return $this->db->insert($this->table,$para);
    }
    
}
?>